﻿<UserControl x:Class="UI.Grid.DataNavigator"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    >
    <StackPanel 
        Orientation="Horizontal" HorizontalAlignment="Right" 
        VerticalAlignment="Center" Grid.Row="0" Grid.Column="0" Background="Transparent">
        <HyperlinkButton x:Name="linkFirst" IsEnabled="False" MouseLeftButtonDown="linkFirst_MouseLeftButtonDown">
            <TextBlock Margin="0,0,20,0" MouseLeftButtonDown="linkFirst_MouseLeftButtonDown">First</TextBlock>
        </HyperlinkButton>
        <HyperlinkButton x:Name="linkPrev" IsEnabled="False" MouseLeftButtonDown="linkPrev_MouseLeftButtonDown">
            <TextBlock MouseLeftButtonDown="linkPrev_MouseLeftButtonDown">Prev</TextBlock>
        </HyperlinkButton>
        <TextBox Margin="20,0,20,0" Width="30" x:Name="txtCurrent" Background="White"
                 FontSize="9" TextAlignment="Center" KeyDown="txtCurrent_KeyDown" BorderThickness="0"
                 HorizontalAlignment="Center" Text="1"></TextBox>
        <HyperlinkButton x:Name="linkNext" IsEnabled="True" MouseLeftButtonDown="linkNext_MouseLeftButtonDown">
            <TextBlock Margin="0,0,20,0" MouseLeftButtonDown="linkNext_MouseLeftButtonDown">Next</TextBlock>
        </HyperlinkButton>
        <HyperlinkButton x:Name="linkLast" IsEnabled="True" MouseLeftButtonDown="linkLast_MouseLeftButtonDown">
            <TextBlock MouseLeftButtonDown="linkLast_MouseLeftButtonDown">Last</TextBlock>
        </HyperlinkButton>
    </StackPanel>
</UserControl>
